<template>
  <div class="imgOrText-container">
    <!-- <van-cell :value="item.createtime" v-for="(item, index) in listData" :key="index"
      @click="$router.push({ path: '/perOffice/imgOrTextDetail', query: { id: item.id } })">
      <template #title>
        <span class="custom-title">{{ item.title }}</span>
      </template>
    </van-cell> -->
    <!-- <empty description="暂无内容" v-if="listData.length == 0"></empty> -->
    <van-cell value="电脑版个人办公使用说明" @click="$router.push('/perOffice/imgOrText/perPcList')"></van-cell>
      <van-cell value="顾问老师" @click="$router.push('/perOffice/imgOrText/adviserTeacherList')"></van-cell>
  </div>
</template>
<script>
import { Icon, Cell, Tag } from 'vant';
export default {
  components: { [Icon.name]: Icon, [Cell.name]: Cell, [Tag.name]: Tag },
  data() {
    return {
      active: 0,
      title: '首页',
      tabar: false,
      listData: []
    };
  },

  created() {
    // this.initAjaxMethod();
  },
  methods: {
    initAjaxMethod() {
      const toast = this.$toast.loading("加载中...");
      this.$http
        .post(this.$API.SET_PEROFFICE_IMAGESTEXT)
        .then((res) => {
          toast.clear();
          if (res.code == 1) {
            this.listData = Array.isArray(res.data)?res.data:[];
          }
        });
    },
    goPage(flag=1){
      
    }
  }
};
</script>

<style lang="less">
.imgOrText-container {
  .van-cell__title{
    display: flex;
    align-items: center;
  }
  .custom-title,.van-cell__value{
    font-size: 0.3rem;
  }
}
</style>